home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / TOP.DIR / take.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.7 KB  |  41 lines

  1. TAKE  -  execute MM commands from a file
  2.  
  3. Usage:  TAKE [inputfile] [outputfile] [errorfile]
  4.  
  5. The TAKE command tells MM to execute commands from a file (inputfile), 
  6.   as if they were typed at the terminal.  The file therefore must consist 
  7.   of one or more MM commands, each on a separate line.  
  8.  
  9. If you specify only one filename, the results of the commands are shown on 
  10.   the screen.  If a second filename is given (for an output file), the 
  11.   commands and results are written to that file and nothing appears on
  12.   screen.  The special filename /dev/tty will make your screen be the output
  13.   file, so you see both the commands and results.  The third filename (an
  14.   error file) is for any error messages; output to screen and file work the 
  15.   same way as for the output file.
  16.  
  17. MM stops using the TAKEn file when one of three conditions occurs: end of
  18.   the TAKE file; an error occurs; or the command TAKE with no arguments
  19.   is found in the file.  The last is the preferred way to end.
  20.   
  21. Example:
  22.   A TAKE file might contain commands to MOVE mail to other files:
  23.       move from fuat fuat.mail
  24.       move from melissa melissa.mail
  25.       echo Mail from Fuat and Melissa has been moved.
  26.       take
  27.   Call the above file "fm-mail".  When used, the following would be visible:
  28.     MM>take fm-mail
  29.      3,10                     #The output of the MOVE
  30.      6,15:16                    #commands.
  31.      Mail from Fuat and Melissa has been moved.    #This is the ECHO command.
  32.     MM>
  33.  
  34. MM TAKEs files automatically, if they exist, in two cases.  A file named
  35.   .mmrc will be TAKEn when MM starts up.  A file named <mailfilename>.rc
  36.   will be TAKEn when you GET or EXAMINE <mailfilename>, i.e. "oldmail.rc"
  37.   when you GET "oldmail".
  38.  
  39. For more help type "help" and one of these topics
  40.   echo   other
  41.